package {
	
	import com.reider.log4AS3.Logger;
	import com.reider.log4AS3.LoggerFactory;
	import com.reider.log4AS3.appenders.ConsoleAppender;
	import com.reider.log4AS3.appenders.LogWindowAppender;
	import com.reider.log4AS3.layouts.PatternLayout;
	
	import flash.display.Sprite;
	
	import org.app.CounterManager;
	
	/********/
	PatternLayout;
	LogWindowAppender;
	ConsoleAppender;
	/********/

	public class Main extends Sprite
	{
		private static var log:Logger = LoggerFactory.getLogger(Main)
		
		public function Main()
		{	
			log.debug("Initing app", this)
			var man:CounterManager = new CounterManager()
			log.debug("Created class: {}", man)
			man.startCount()
			log.info("Started count")
		}
	}
}
